<template>
  <!--  <div>
    <div style="display: flex;flex-direction: column;align-items: center;justify-content: center">
      <div style="width: 200px;position: relative;">
        <el-input class="seach-input">

        </el-input>
        <div class="el-icon-search" style="position: absolute;bottom: 6px;right: 5px;cursor: pointer"></div>
      </div>
    </div>

    <div>
      <span>排行榜</span>
    </div>

    <div>
      <span>歌单</span>
    </div>
    </div>-->
  <el-container>
    <el-header>
      <div style="display: flex;flex-direction: column;align-items: center;justify-content: center">
        <div style="width: 200px;position: relative;">
          <el-input class="seach-input" prefix-icon="el-icon-search">

          </el-input>
        </div>
      </div>
    </el-header>
    <div>
      <el-tabs v-model="activeName" @tab-click="handleClick" class="jiutabs">
        <el-tab-pane label="排行榜" name="first">
          <Leaderboard></Leaderboard>
        </el-tab-pane>
        <el-tab-pane label="歌单" name="second">歌单</el-tab-pane>
        <!--        <el-tab-pane label="角色管理" name="third">角色管理</el-tab-pane>
                <el-tab-pane label="定时任务补偿" name="fourth">定时任务补偿</el-tab-pane>-->
      </el-tabs>

    </div>
    <Music_aplayer></Music_aplayer>
  </el-container>

</template>

<script>
import Leaderboard from "./rank/leaderboard";
import Music_aplayer from "./rank/music_aplayer";

export default {
  name: "musicIndex",
  components: {Leaderboard, Music_aplayer}
}
</script>

<style scoped>
/*.seach-input >>> .el-input__inner {
  border-top: unset;
  border-right: unset;
  border-left: unset;
  border-radius: 0px;
}*/
.jiutabs >>> .el-tabs__nav-scroll {
  display: flex;
  justify-content: center;
}

.jiutabs >>> .el-tabs__nav-wrap::after {
  width: unset;
}

.el-header, .el-footer {

  text-align: center;
  line-height: 60px;
}

.el-aside {
  background-color: #D3DCE6;
  color: #333;
  text-align: center;
  line-height: 200px;
}

.el-main {
  background-color: #E9EEF3;
  color: #333;
  text-align: center;
  line-height: 160px;
}

body > .el-container {
  margin-bottom: 40px;
}

.el-container:nth-child(5) .el-aside,
.el-container:nth-child(6) .el-aside {
  line-height: 260px;
}

.el-container:nth-child(7) .el-aside {
  line-height: 320px;
}
</style>
